package com.lovo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@ApiModel(value = "订单DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDto implements Serializable {

    private String orderNum;
    @ApiModelProperty(value = "电影名")
    private String movieName;
    @ApiModelProperty(value = "购买数量")
    private int movieNum;
    @ApiModelProperty(value = "价格")
    private float price;
    @ApiModelProperty(value = "购买时间")
    private String playDate;
    @ApiModelProperty(value = "信息")
    private String info;

    public OrderDto(String orderNum) {
        this.orderNum = orderNum;
    }
}
